/* iPhone 安全区域适配 */
.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

.safe-area-top {
  padding-top: env(safe-area-inset-top);
}

/* 移动端点击高亮 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 移动端滚动优化 */
.overflow-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* 移动端 1px 边框 */
.hairline {
  position: relative;
}

.hairline::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: left top;
  box-sizing: border-box;
  border: 1px solid #ebedf0;
  border-radius: inherit;
} 